home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer Helper 1: Phil & Dave's Excellent CD
/
Phil and Dave's Excellent CD HFS Files.7z
/
Phil and Dave's Excellent CD HFS Files
/
Peripherals
/
HyperScan
/
HyperScan Samples
/
card_26529.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
2KB
|
87 lines
-- card: 26529 from stack: in
-- bmap block id: 29986
-- flags: 0000
-- background id: 3737
-- name:
-- part 1 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=275 top=7 right=88 bottom=505
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Notes
----- HyperTalk script -----
on mouseUp
lock screen
hide me
unlock screen with dissolve
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=1 top=323 right=341 bottom=35
-- title width / last selected line: 0
-- icon id / first selected line: 1300 / 1300
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
---find out WHERE on the icon you clicked
put (item 1 of the clickLoc) - (item 1 of the Loc of me) into E
---if the click was on the left then
if E < 0 then
set icon of me to 1301
wait 1
set icon of me to 1300
push card
put PathWay() & "SN Feedback" into feedPath
set cursor to watch
visual effect dissolve fast
go stack feedPath
---if the click was on the right then
else if E > 0 then
set icon of me to 1302
wait 1
set icon of me to 1300
global navMenu
visual effect iris close to black
visual effect iris open
if navMenu is empty then put "Welcome" into navMenu
go card navMenu of stack "Support Navigator:Support Navigator"
end if
end mouseUp
Function PathWay
put the long name of stack "Home" into NewName
delete char 1 to 7 of NewName
repeat
if offset(":",NewName) is 0 then
exit repeat
else
put char 1 to offset(":",NewName) of NewName after NewPath
delete char 1 to offset(":",NewName) of NewName
end if
end repeat
return NewPath
end PathWay
-- part contents for card part 1
----- text -----
Photo by Bill Atkinson